﻿<link href="@Url.Content("~/content/activitie_detail.css")" rel="stylesheet" type="text/css"/>

@{
    ViewBag.Title = "ScoreReport";
}

<div id="m-title">
    <h2>评分汇总</h2>
    @using (Html.BeginForm("Export2Excel", "Comment", FormMethod.Post))
    {
        <div id="m-op">
            @Html.DropDownList("SubjectID")
            <input type="button" id="btnGenerate" value="生成评分汇总表" onclick="GenerateReport();" class="u-btn f-btn-long" /><span>&nbsp;&nbsp;&nbsp;</span>
            @Html.DropDownList("ExpertGroupID")
            <input type="submit" value="评语汇总" class="u-btn" />
        </div>
    }
</div>

<iframe id="myReport" width="99%" height="100%" frameborder=no scrolling="no" >

</iframe>

 <script type="text/javascript">
     function GenerateReport() {
         var id = $("#SubjectID option:selected").val();
         @*document.getElementById("myReport").src = "@Url.Content("../../Reportsm/ArchiveScoresReportForm.aspx?subjectID=")" + id;*@
         document.getElementById("myReport").src = "@Url.Content("~/Reportsm/ArchiveScoresReportForm.aspx?subjectID=")" + id;
         document.getElementById("myReport").style.display = "block";
         document.getElementById("myReport").style.height = "750px";
         document.getElementById("myReport").style.height = "1200px";
     }
</script>
